package com.wt.admin.mapper.chat;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wt.admin.domain.dto.chat.ChatModelDTO;
import com.wt.admin.domain.dto.image.ImageClassificationDTO;
import com.wt.admin.domain.entity.chat.ChatModelEntity;
import com.wt.admin.domain.entity.image.ImageClassificationEntity;
import com.wt.admin.domain.vo.chart.ChatModelVO;
import com.wt.admin.domain.vo.image.ImageClassificationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ChatModelMapper extends BaseMapper<ChatModelEntity> {

    @Select("select * from chat_model order by create_time desc")
    List<ChatModelVO> modeList(ChatModelDTO data);

}
